
import request from '@/utils/request'

const api = {
    getSettlementReceiptList: '/v1/settlement/can/receipt/page/list', // 获取可开票结算单列表
    settlementCanReceiptAmount: '/v1/settlement/can/receipt/amount', // 获取可开票金额
}

// 获取可开票结算单列表
export function getSettlementReceiptList (parameter) {
    return request({
        url: api.getSettlementReceiptList,
        method: 'get',
        headers: {
            'name':'getSettlementReceiptList',
        },
        params: parameter
    })
}

// 获取可开票金额
export function settlementCanReceiptAmount (parameter) {
    return request({
        url: api.settlementCanReceiptAmount,
        method: 'get',
        headers: {
            'name':'settlementCanReceiptAmount',
        },
        params: parameter
    })
}